<template>
   <div class="container" >
        <MsgSlot>
            <div class="bat1">
                老大
            </div>
        </MsgSlot>
        <MsgSlot>
            <div class="bat2">
                老二
            </div>
        </MsgSlot>
        <MsgSlot>
            <div class="bat2">
                老二
            </div>
        </MsgSlot>
   </div>
</template>
<script>
import MsgSlot from './components/MsgSlot.vue';
   export default {
     name: '',
     components:{
        MsgSlot
     },
     data: function(){
       return {
       }
     },
     methods:{
     }
   }
</script>
<style>
  html,
  body, 
  #app{
    height: 100%;
  }
</style>
<style scoped>
   .container {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      background-color: aliceblue;
   }
   .tr{
      width: 200px;
      flex-basis: 50px;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      background-color: beige;
      align-items: center;
    }
   .second{
      background-color: aqua;
   }
   .bat1{
    background-color: aqua;
   }
   .bat2{
    background-color: blue;
   }
</style>